#!/usr/bin/python
# -*- coding: utf-8 -*-
# @author: 高建平
# @description: 
#

import uvicorn
import os
from config.settings import FASTAPI_PROFILE,DEFAULT_FASTAPI_PROFILE

if __name__ == '__main__':
    # 加载环境变量
    os.environ[FASTAPI_PROFILE]=DEFAULT_FASTAPI_PROFILE
    uvicorn.run("bootstrap.application:app", host="0.0.0.0", port=8000, reload=True, workers=1)
    
